package com.xyp.mesadmin.log.service;

import com.github.pagehelper.PageInfo;
import com.xyp.mesadmin.log.param.LogPageParam;
import com.xyp.mescommon.common.PageParam;
import com.xyp.mescommon.entity.log.Log;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface LogService {
    //插入
    void addLog (Log log);
    //查询
    PageInfo<Log> findAll (LogPageParam logPageParam);
    //删除
    void deleteById(Integer id);
    //批量删除
    void deleteBatch(List<Integer> ids);
    //导出文件
    void exportExcel(HttpServletResponse response);
}
